﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using DAL;
using BLL;

public partial class Baiviet_XulyListOnline : System.Web.UI.Page
{
    THANHVIENBLL tvBll = new THANHVIENBLL();
    BAIVIETBLL bvBll = new BAIVIETBLL();

    protected void Page_Load(object sender, EventArgs e)
    {
        int maTV = Int32.Parse(Page.Request["maTv"].ToString());
        int maBv = Int32.Parse(Page.Request["maBv"].ToString());

        THANHVIEN tv = tvBll.getThanhvienWithIDThanhvien(maTV);
        bvBll.addThanhvienToListchatWithIDBaiviet(tv, maBv);

    }
}
